/**
 * Created by 李柏霖
 * 2020/10/15 11:14
 */

package com.lbl.dao.impl;

import com.lbl.dao.IPersonDao;
import com.lbl.domain.Person;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository
public class PersonDaoImpl implements IPersonDao {
    @Override
    public List<Person> findAll() {
        ArrayList<Person> list = new ArrayList<>();
        list.add(new Person("lbl",100.00));
        list.add(new Person("touny",200.00));
        list.add(new Person("tom",300.00));
        return list;
    }

    @Override
    public void savePerson(Person person) {

    }

    @Override
    public void savePersonList(List<Person> person) {

    }
}
